package com.bicon.botu.core.base.repository.redis;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.data.redis.core.RedisTemplate;

/**
 *缓存抽象类，因为要使用util中的方法，所以直接继承util
 *@author jingwj
 *@date 2018/1/03
 */
public abstract class AbstractRedishandler extends RedisTemplateUtil {
    @Autowired
    public AbstractRedishandler(@Qualifier(value="stringRedisTemplate")RedisTemplate redisTemplate) {
        super(redisTemplate);
    }
}
